The table above shows the frequency of each level of education in the sample of voters.
Race
1. White - 1442
2. Black/African American - 583
3.Other race - 262
4. NA’s - 35
The table above shows the frequency of each race in the sample of voters.
Summary Statistics
Min
1stQu.
Median
Mean
3rdQu
Max
NA’s
0.00
60.00
70.00
74.55
96.25
100.00
266
The table above displays a summary of the attitude of voters toward poor people. These results show that the average feeling toward poor people is 74.55 out of 100, meaning that voters generally have strong feelings toward poor people.
Min
1stQu.
Median
Mean
3rdQu
Max
NA’s
0.00
50.00
50.00
58.28
70.00
100.00
259
The table above displays a summary of the attitude of voters toward rich people. These results show that the average feeling toward rich people is 58.28 out of 100, meaning that voters generally have neutral / slightly strong feelings toward rich people.
Standard Deviation
Poor People - 19.74461 Rich People -21.40141 The standard deviation describes the average deviation from the mean. In the case of the attitudes toward poor people, the standard deviation from the mean is around 19.74. For the attitudes toward rich people, the standard deviation from the mean is around 21.4.
Violin plots
The violin plots above describe the summary statistics of voters feelings toward poor people and toward rich people. One can see that voters in general hold strong feelings toward poor people. On the other hand, one can see that voters generally hold neutral / slightly strong feelings toward rich people. The violin plots not only provide basic summary statistics including the minimum, maximum, and mean, but also they provide more detail into the skew of the sample of voters. One can easily look at the violin plots and see where a majority of voters stand on each scale.
(What is skew? It's actually a technical term, we haven't gone over it much, but you should look it up and push yourself to use it precisely if you find yourself wanting to write it! Or maybe we'll just go over it in class, we probably should have...)
Scatter plot
Correlation People on welfare vs. Poor people 0.4452829 The correlation above represents a slight positive correlation between people on welfare and poor people.
The following image is a scatterplot which represents the correlation between voters with strong feeling toward people on welfare and those with strong feeling toward poor people. One can see that there is a positive correlation between the factors. This leads one to believe that those voters who have strong feelings toward people on welfare also have strong feelings toward poor people.
Education
0. No degree earned - 460
1. Bachelor's degree - 333
2. Master's degree - 121
3. PhD, LIT, SCD, DFA, DLIT, DPH, DPHIL, JSC, SJD - 16
4. LLB, JD - 5
5. MD, DDS, DVM, MVSA, DSC, DO - 8
6. JDC, STD, THD - 2
7. Associate degree (AA) - 260
8. NA’s - 1117
Race
1. White - 1442
2. Black/African American - 583
3.Other race - 262
4. NA’s - 35
Summary Statistics
Min
1stQu.
Median
Mean
3rdQu
Max
NA’s
0.00
60.00
70.00
74.55
96.25
100.00
266
Min
1stQu.
Median
Mean
3rdQu
Max
NA’s
0.00
50.00
50.00
58.28
70.00
100.00
259
Standard Deviation
Poor People - 19.74461Rich People - 21.40141
The standard deviation describes the average deviation from the mean. In the case of the attitudes toward poor people, the standard deviation from the mean is around 19.74. For the attitudes toward rich people, the standard deviation from the mean is around 21.4.
Violin plots
The violin plots above describe the summary statistics of voters feelings toward poor people and toward rich people. One can see that voters in general hold strong feelings toward poor people. On the other hand, one can see that voters generally hold neutral / slightly strong feelings toward rich people. The violin plots not only provide basic summary statistics including the minimum, maximum, and mean, but also they provide more detail into the skew of the sample of voters. One can easily look at the violin plots and see where a majority of voters stand on each scale.
(What is skew? It's actually a technical term, we haven't gone over it much, but you should look it up and push yourself to use it precisely if you find yourself wanting to write it! Or maybe we'll just go over it in class, we probably should have...)
Scatter plot
Correlation People on welfare vs. Poor people0.4452829
The correlation above represents a slight positive correlation between people on welfare and poor people.
The following image is a scatterplot which represents the correlation between voters with strong feeling toward people on welfare and those with strong feeling toward poor people. One can see that there is a positive correlation between the factors. This leads one to believe that those voters who have strong feelings toward people on welfare also have strong feelings toward poor people.
Histogram and Density plot
Great job! Very well done. Looks nice too!